#main-form {
	position: fixed;
	top: 10px;
	bottom: 60px;
	right: 10px;
	left: 335px;
	background-color: transparent;
	padding: 30px;
}

h1 {
	font-size: 36px;
	font-weight: normal;
	line-height: 40px;
	margin-bottom: 30px;
}

#main-form h1 {
	text-align: right;
}

#main-form label {
	font-size: 14px;
	line-height: 16px;
	margin-bottom: 8px;
}

#main-form .form-group + .form-group {
	margin-top: 14px;
	margin-left: 0;
}

#main-form .form-group.half + .form-group.half {
	margin-left: 4%;
}

#main-form form {
	position: relative;
	overflow: auto;
}

#main-form > [class*="-group"] {
	float: left;
	overflow: auto;
	margin-bottom: 30px;
}

#main-form > [class*="-group"] > .form-group {
	float: none;
	display: block;
	float: left;
	width: 100%;
}

#main-form > [class*="-group"] > .form-group.half {
	width: 48%;
	float: left;
}

#main-form > .top-group > .form-group {
	float: right;
	width: 230px;
}

#main-form .top-group {
	width: 100%;
}

#main-form .left-group {
	width: 50%;
}

#main-form .mid-group {
	width: 30%;
}

#main-form .right-group {
	width: 9%;
	margin-right: 7%;
}

#main-form .top-group .form-control {
	height: 35px;
	font-size: 18px;
}

#main-form .right-group:last-child {
	position: absolute;
	bottom: 0;
	right: 0;
}

#main-form .left-group + .mid-group,
#main-form .mid-group + .right-group {
	margin-left: 2%;
}

.form-control {
	resize:none;
	padding: 7px 10px;
	box-shadow: none;
	border: none;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
        	box-sizing: border-box;
}

.form-control,
.select-input {
	width: 100%;
	display: block;
	float: none;
	height: 30px;
	font-size: 14px;
	background-color: #f2f2f2;
}

#main-form .select-input {
	margin-top: 0;
}

#main-form .select-input select * {
	background-color: #f9f9f9;
}

#main-form .select-input select {
	color: #191919;
	font-size: 14px;
}

textarea.bigger {
	height: 230px;
}

input.bigger {
	font-size: 36px;
	line-height: 40px;
	padding: 4px 10px;
	height: 50px;
}

.amount-control {
	position: relative;
}

.amount-control span {
	font-size: 24px;
	line-height: 50px;
	position: absolute;
	width: 50px;
	text-align: center;
	top: 0;
	bottom: 0;
	left: 0;
	color: #999999;
	display: none;
}

.amount-control span.show {
	display: inline-block;
}

.amount-control .negative {
	color: #ca2121;
}

.amount-control input {
	padding-left: 50px;
	padding-right: 20px;
}

#amount.red {
	color: #ca2121;
}

.debcre {
	position: relative;
}

.debcre label {
	display: none;
}

.debcre input[type="radio"] {
	width: 50%;
	height: 30px;
	float: left;
	cursor: pointer;
	border: none;
	padding: 0;
	margin: 0;
	opacity: 0;
}

.debcre input[type="radio"]#debit + span {
	content: "Debit";
	left: 0;
}

.debcre input[type="radio"]#credit + span {
	content: "Credit";
	right: 0;
}

.debcre input[type="radio"] + span {
	content: "";
	height: 30px;
	width: 50%;
	background-color: #6d9fbf;
	color: #ffffff;
	display: block;
	text-align: center;
	line-height: 30px;
	font-size: 14px;
	position: absolute;
	z-index: -1;
}

.debcre input[type="radio"]:checked + span {
	background-color: #235a7e;
	color: #ffffff;
	cursor: default;
}

#main-form .btn {
  text-align: center;
  border: none;
  text-transform: capitalize;
  display: block;
  border-radius: 0;
  padding: 6px 0;
  width: 100%;
  color: #ffffff;
  background-color: #6d9fbf;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
}

#main-form .btn-primary {
	background-color: #235a7e;
}

#main-form .btn + .btn {
	margin-left: 0;
	margin-top: 14px;
}

@media (min-width: 489px) and (max-width: 1200px) {
	#main-form form > [class*="-group"] {
		width: 100%;
		margin-top: 0;
	}

	#main-form .right-group,
	#main-form .left-group + .mid-group,
	#main-form .mid-group + .right-group {
		margin-left: 0;
		margin-right: 0;
	}

	#main-form {
		left: 235px;
		overflow: auto;
	}

	#main-form .right-group:last-child {
		position: static;
	}

}